/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.app;

//导入类

import cn.webrx.Book;

import java.util.Calendar;
import java.util.Date;

/**
 * <p>Project: javaseapp - Main
 * <p>Powered by webrx On 2021-08-04 15:10:44
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class Main {
    public static void main(String[] args) {
        //Book类 , 类实例化后，建立对象
        Book book = new Book();
        book.show();

        //java 10以后的新版本中，有一个var推断类型的关键字
        var c = Calendar.getInstance();
        var d = new Date();//Date 对象
        var bks = new Book[3];//数组对象
        var b = new Book("java");
        b.show();
    }
}
